# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=tree
pkgver=1.8.0
pkgrel=0
pkgdesc="A recursive directory indented listing of files"
url="http://mama.indstate.edu/users/ice/tree/"
arch="all"
license="GPL-2.0-or-later"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
options="!check"
subpackages="$pkgname-doc"
source="http://mama.indstate.edu/users/ice/tree/src/$pkgname-$pkgver.tgz"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make prefix="$pkgdir/usr" MANDIR="${pkgdir}/usr/share/man/man1" install
}

sha512sums="3f657a6278ec5eab2fccab39dfd69bf9376811189a368b5e3213dc900b90a4e7a4961fc58eb80ad2efd5b40d2fbd0146ec59f30fe0bba576f93519214f240695  tree-1.8.0.tgz"
